package com.ruoyi.hospital.domain.storeInfo;

import java.math.BigDecimal;
import java.util.List;

import com.ruoyi.hospital.domain.shop.PharmacyDrugSku;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;

/**
 * 药品公共信息对象 pharmacy_druginfo
 *
 * @author wendao
 * @date 2024-09-12
 */
public class PharmacyDruginfo
{
    private static final long serialVersionUID = 1L;

    /** 主键自增 */
    private Integer id;

    /** 主图 */
    @Excel(name = "主图")
    private String mainPic;

    /** 药品名称 */
    @Excel(name = "药品名称")
    private String drugName;

    /** 药品编号 */
    @Excel(name = "药品编号")
    private String drugNumber;

    /** 批准文号 */
    @Excel(name = "批准文号")
    private String drugApprovalNumber;

    /** 规格 */
    @Excel(name = "规格")
    private String drugSpecification;

    /** 库存 */
    @Excel(name = "库存")
    private Integer drugInventory;

    /** 售价（元） */
    @Excel(name = "售价", readConverterExp = "元")
    private BigDecimal drugPrice;

    private BigDecimal orgPrice;  //原价


    /** 已售 */
    @Excel(name = "已售")
    private Integer sold;

    /** 商城分类 */
    @Excel(name = "商城分类")
    private String categoriesName;
    private Integer drugCategory;

    /** 所属药店 */
    @Excel(name = "所属药店")
    private String  storeName;
    private Integer storeId;
    private String storeLogo; //药店logo

    /** 是否上架 */
    @Excel(name = "是否上架",dictType = "is_listed")
    private Integer isListed;

    /** 是否潜在 */
    @Excel(name = "是否潜在",dictType = "is_potential")
    private Integer isPotential;

    /** 药品类型 */
    @Excel(name = "药品类型",dictType = "drug_dic_type")
    private Integer drugType;

    /** 是否新品 */
    @Excel(name = "是否新品",dictType = "is_new")
    private Integer isNew;

    /** 排序 */
    @Excel(name = "排序")
    private Integer drugSort;

    private Integer expressId;//快递模板

    private String labels; //标签

    /** 删除时间 */
    private Integer deleteTime;
    private Integer createTime;
    private Integer updateTime;


    private Integer isPrescription; //是否潜在

    /*优惠卷设置的时候使用*/
    private List<Integer> excludeProductIds;
    //sku信息
    private List<PharmacyDrugSku> skuList;

    private String useDesc;


    private Integer isHot;
    private Integer  commentNum;
    /** 适应症 */
    private String symptomDesc;
    private String detailDesc;


    private String keyWord;

    public Integer getExpressId() {
        return expressId;
    }

    public void setExpressId(Integer expressId) {
        this.expressId = expressId;
    }

    public String getKeyWord() {
        return keyWord;
    }

    public void setKeyWord(String keyWord) {
        this.keyWord = keyWord;
    }


    public String getSymptomDesc() {
        return symptomDesc;
    }

    public void setSymptomDesc(String symptomDesc) {
        this.symptomDesc = symptomDesc;
    }

    public String getDetailDesc() {
        return detailDesc;
    }

    public void setDetailDesc(String detailDesc) {
        this.detailDesc = detailDesc;
    }

    public String getStoreLogo() {
        return storeLogo;
    }

    public void setStoreLogo(String storeLogo) {
        this.storeLogo = storeLogo;
    }

    public BigDecimal getOrgPrice() {
        return orgPrice;
    }

    public void setOrgPrice(BigDecimal orgPrice) {
        this.orgPrice = orgPrice;
    }

    public Integer getIsPrescription() {
        return isPrescription;
    }

    public void setIsPrescription(Integer isPrescription) {
        this.isPrescription = isPrescription;
    }

    public Integer getIsHot() {
        return isHot;
    }

    public void setIsHot(Integer isHot) {
        this.isHot = isHot;
    }

    public Integer getCommentNum() {
        return commentNum;
    }

    public void setCommentNum(Integer commentNum) {
        this.commentNum = commentNum;
    }

    public String getLabels() {
        return labels;
    }

    public void setLabels(String labels) {
        this.labels = labels;
    }

    public String getUseDesc() {
        return useDesc;
    }

    public void setUseDesc(String useDesc) {
        this.useDesc = useDesc;
    }

    public List<Integer> getExcludeProductIds() {
        return excludeProductIds;
    }

    public void setExcludeProductIds(List<Integer> excludeProductIds) {
        this.excludeProductIds = excludeProductIds;
    }

    public List<PharmacyDrugSku> getSkuList() {
        return skuList;
    }

    public void setSkuList(List<PharmacyDrugSku> skuList) {
        this.skuList = skuList;
    }

    public String getCategoriesName() {
        return categoriesName;
    }

    public void setCategoriesName(String categoriesName) {
        this.categoriesName = categoriesName;
    }

    public String getStoreName() {
        return storeName;
    }

    public void setStoreName(String storeName) {
        this.storeName = storeName;
    }

    public Integer getCreateTime() {
        return createTime;
    }


    public void setCreateTime(Integer createTime) {
        this.createTime = createTime;
    }


    public Integer getUpdateTime() {
        return updateTime;
    }


    public void setUpdateTime(Integer updateTime) {
        this.updateTime = updateTime;
    }

    public void setId(Integer id)
    {
        this.id = id;
    }

    public Integer getId()
    {
        return id;
    }
    public void setMainPic(String mainPic)
    {
        this.mainPic = mainPic;
    }

    public String getMainPic()
    {
        return mainPic;
    }
    public void setDrugName(String drugName)
    {
        this.drugName = drugName;
    }

    public String getDrugName()
    {
        return drugName;
    }
    public void setDrugNumber(String drugNumber)
    {
        this.drugNumber = drugNumber;
    }

    public String getDrugNumber()
    {
        return drugNumber;
    }
    public void setDrugApprovalNumber(String drugApprovalNumber)
    {
        this.drugApprovalNumber = drugApprovalNumber;
    }

    public String getDrugApprovalNumber()
    {
        return drugApprovalNumber;
    }
    public void setDrugSpecification(String drugSpecification)
    {
        this.drugSpecification = drugSpecification;
    }

    public String getDrugSpecification()
    {
        return drugSpecification;
    }
    public void setDrugInventory(Integer drugInventory)
    {
        this.drugInventory = drugInventory;
    }

    public Integer getDrugInventory()
    {
        return drugInventory;
    }
    public void setDrugPrice(BigDecimal drugPrice)
    {
        this.drugPrice = drugPrice;
    }

    public BigDecimal getDrugPrice()
    {
        return drugPrice;
    }
    public void setSold(Integer sold)
    {
        this.sold = sold;
    }

    public Integer getSold()
    {
        return sold;
    }
    public void setDrugCategory(Integer drugCategory)
    {
        this.drugCategory = drugCategory;
    }

    public Integer getDrugCategory()
    {
        return drugCategory;
    }
    public void setStoreId(Integer storeId)
    {
        this.storeId = storeId;
    }

    public Integer getStoreId()
    {
        return storeId;
    }
    public void setIsListed(Integer isListed)
    {
        this.isListed = isListed;
    }

    public Integer getIsListed()
    {
        return isListed;
    }
    public void setIsPotential(Integer isPotential)
    {
        this.isPotential = isPotential;
    }

    public Integer getIsPotential()
    {
        return isPotential;
    }
    public void setDrugType(Integer drugType)
    {
        this.drugType = drugType;
    }

    public Integer getDrugType()
    {
        return drugType;
    }
    public void setIsNew(Integer isNew)
    {
        this.isNew = isNew;
    }

    public Integer getIsNew()
    {
        return isNew;
    }
    public void setDrugSort(Integer drugSort)
    {
        this.drugSort = drugSort;
    }

    public Integer getDrugSort()
    {
        return drugSort;
    }
    public void setDeleteTime(Integer deleteTime)
    {
        this.deleteTime = deleteTime;
    }

    public Integer getDeleteTime()
    {
        return deleteTime;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("mainPic", getMainPic())
            .append("drugName", getDrugName())
            .append("drugNumber", getDrugNumber())
            .append("drugApprovalNumber", getDrugApprovalNumber())
            .append("drugSpecification", getDrugSpecification())
            .append("drugInventory", getDrugInventory())
            .append("drugPrice", getDrugPrice())
            .append("sold", getSold())
            .append("drugCategory", getDrugCategory())
            .append("storeId", getStoreId())
            .append("isListed", getIsListed())
            .append("isPotential", getIsPotential())
            .append("drugType", getDrugType())
            .append("isNew", getIsNew())
            .append("drugSort", getDrugSort())
            .append("createTime", getCreateTime())
            .append("updateTime", getUpdateTime())
            .append("deleteTime", getDeleteTime())
            .toString();
    }
}
